/*
 * test_console.cpp
 *
 *  Created on: 28/11/2011
 *      Author: matias
 */

#ifdef TEST_CONSOLE

#include "../client/Console.h"
#include <iostream>
#include <cstdlib>

#include <sys/msg.h>
#include <sys/ipc.h>


#include "../lib/MessageQueue.h"


int main( int argc, char** argv ) {

	int ret = 1;

		Client* cliente = new Client();
		Console console = Console(cliente);
		std::cout<<"-- Iniciando consola"<<std::endl;

		while(true){
			console.show_shell();
		}
		std::cout<<"-- Cliente Finalizado"<<std::endl;
		std::cout<<"-- El servidor se encuentra desconectado"<<std::endl;

	return ret;
}

#endif
